package com.chartboost.sdk.impl;

import java.util.Collection;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.concurrent.ConcurrentMap;

final class be<K, V>
  implements bg<K, V>, Map<K, V>
{
  private final ConcurrentMap<K, V> a;
  private final bg<K, V> b;

  be(ConcurrentMap<K, V> paramConcurrentMap, bg<K, V> parambg)
  {
    this.a = ((ConcurrentMap)bb.a("map", paramConcurrentMap));
    this.b = ((bg)bb.a("function", parambg));
  }

  public static <K, V> Map<K, V> a(bg<K, V> parambg)
  {
    return new be(bf.c(), parambg);
  }

  public V a(K paramK)
  {
    return get(paramK);
  }

  public void clear()
  {
    this.a.clear();
  }

  public boolean containsKey(Object paramObject)
  {
    return this.a.containsKey(paramObject);
  }

  public boolean containsValue(Object paramObject)
  {
    return this.a.containsValue(paramObject);
  }

  public Set<Map.Entry<K, V>> entrySet()
  {
    return this.a.entrySet();
  }

  public boolean equals(Object paramObject)
  {
    return this.a.equals(paramObject);
  }

  public V get(Object paramObject)
  {
    while (true)
    {
      Object localObject1 = this.a.get(paramObject);
      if (localObject1 != null)
        return localObject1;
      Object localObject2 = this.b.a(paramObject);
      if (localObject2 == null)
        return null;
      this.a.putIfAbsent(paramObject, localObject2);
    }
  }

  public int hashCode()
  {
    return this.a.hashCode();
  }

  public boolean isEmpty()
  {
    return this.a.isEmpty();
  }

  public Set<K> keySet()
  {
    return this.a.keySet();
  }

  public V put(K paramK, V paramV)
  {
    return this.a.put(paramK, paramV);
  }

  public void putAll(Map<? extends K, ? extends V> paramMap)
  {
    this.a.putAll(paramMap);
  }

  public V remove(Object paramObject)
  {
    return this.a.remove(paramObject);
  }

  public int size()
  {
    return this.a.size();
  }

  public Collection<V> values()
  {
    return this.a.values();
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.chartboost.sdk.impl.be
 * JD-Core Version:    0.6.2
 */